<!DOCTYPE html>
<html lang="zh-cn">
    <head>
        <meta charset="UTF-8"/>
        <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0" />
        <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
        <title>Document</title>
        <style>
            .container {
              display: block;
              width: 200px;
              height: 200px;
              margin-bottom: 50px;
              border: 1px solid #bbb;
            }
            .box {
              width: 100%;
              height: 100%;
              opacity: .75;
            }

            #darkred .box {
              background-color: darkred;
              transform: perspective(600px) rotateY(45deg);
            }

            #darkblue {
              perspective: 600px;
            }
            #darkblue .box {
              background-color: darkblue;
              transform: rotateY(45deg);
            }
        </style>
    </head>
    <body>
        <h1></h1>
        <p><a href="">来源</a></p>
        <section id="darkred" class="container">
            <div class="box"></div>
        </section>

        <section id="darkblue" class="container">
            <div class="box"></div>
        </section>
    </body>
</html>